package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 用户安置记录表
    */
public class UserPlace implements Serializable {
    /**
    * place_id
    */
    private String placeId;

    /**
    * 安置时间
    */
    private Date placeTime;

    /**
    * 拿奖金用户id
    */
    private String bonusUserId;

    private String userId;

    /**
    * 消费pv
    */
    private BigDecimal buyPv;

    /**
    * 奖金比率
    */
    private BigDecimal bonusRate;

    /**
    * 安置奖励pv
    */
    private BigDecimal bonusPv;

    private static final long serialVersionUID = 1L;

    public String getPlaceId() {
        return placeId;
    }

    public void setPlaceId(String placeId) {
        this.placeId = placeId;
    }

    public Date getPlaceTime() {
        return placeTime;
    }

    public void setPlaceTime(Date placeTime) {
        this.placeTime = placeTime;
    }

    public String getBonusUserId() {
        return bonusUserId;
    }

    public void setBonusUserId(String bonusUserId) {
        this.bonusUserId = bonusUserId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getBuyPv() {
        return buyPv;
    }

    public void setBuyPv(BigDecimal buyPv) {
        this.buyPv = buyPv;
    }

    public BigDecimal getBonusRate() {
        return bonusRate;
    }

    public void setBonusRate(BigDecimal bonusRate) {
        this.bonusRate = bonusRate;
    }

    public BigDecimal getBonusPv() {
        return bonusPv;
    }

    public void setBonusPv(BigDecimal bonusPv) {
        this.bonusPv = bonusPv;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", placeId=").append(placeId);
        sb.append(", placeTime=").append(placeTime);
        sb.append(", bonusUserId=").append(bonusUserId);
        sb.append(", userId=").append(userId);
        sb.append(", buyPv=").append(buyPv);
        sb.append(", bonusRate=").append(bonusRate);
        sb.append(", bonusPv=").append(bonusPv);
        sb.append("]");
        return sb.toString();
    }
}